<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 15-4-30
 * Time: 下午1:28
 * @author 郑钟良<zzl@ourstu.com>
 */

namespace Paper\Widget;

use Think\Controller;

class FootBlockWidget extends Controller
{
    public function render($catid = 0)
    {
        $map = array('status' => 1,'category'=>$catid);
        $list = D('Paper/Paper')->getList($map);
        $this->assign('paper_list', $list);
        $this->display(T('Paper@Widget/footblock'));
    }
} 